| lcBlockAddViewport | Home |
|
HANDLE lcBlockAddViewport ( HANDLE hBlock, double Lef, double Bot, double Width, double Height, double DrwPntX, double DrwPntY, double DrwScale, double DrwAngle ); |
| hBlock | |
| Handle to a block. The block must have "Paper space" flag (LC_PROP_BLOCK_PAPER). | |
| Lef Bot | |
| Coordinates of the viewport left-bottom corner. | |
| Width | |
| Width of the viewport. | |
| Height | |
| Height of the viewport. | |
| DrwPntX DrwPntY | |
| Coordinates of the Model Space point which will be at the center of the viewport. | |
| DrwScale | |
|
Defines the Model Space scale in the viewport. If zero is specified then the viewport will display the Model Space extents. DrwPntX, DrwPntY, DrwAngle parameters will be ignored. | |
| DrwAngle | |
| Defines a rotation angle of the Model Space in the viewport. | |
| Handle to created viewport object or NULL if the function fails. |
| Sample code |